package com.zsc.spring.study.regbean;


import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import({Corol.class,MyImportSelector.class,MyImportBeanDefinitionRegistrar.class})//improt导入组件，id默认是组件的全类名
public class MyRegConfig {

    @Bean
    public MyCorolFactoryBean corolFactoryBean(){
        return new MyCorolFactoryBean();
    }
}
